

package com.kimo.shop.service;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kimo.shop.bean.model.OrderItem;
import com.kimo.shop.bean.param.PayTopParam;
import com.kimo.shop.bean.param.ProdAnalysisSurveyParam;
import com.kimo.shop.common.util.PageParam;

/**
 *
 * @author kimo-taozhouchuan on 2018/09/15.
 */
public interface OrderItemService extends IService<OrderItem> {

	List<OrderItem> getOrderItemsByOrderNumber(String orderNumber, Integer dbLang);

//    List<OrderItem> getUnCloseRefundOrderItemByOrderNumberAndUserId(String orderNumber,String userId);

    IPage<PayTopParam> getPayAmounts(PageParam<OrderItem> page, ProdAnalysisSurveyParam param, Integer dbLang);

    Integer getPayPersonNumByParam(Integer prodId, Long shopId , Date startTime, Date endTime);

    void insertBatchOrderItem(List<OrderItem> orderItems);
}
